//
//  MainItem.h
//  wmh.ios.v5
//
//  Created by AndLi on 14/10/22.
//  Copyright (c) 2014年 Epoint. All rights reserved.
//


@protocol MainItemDelegate <NSObject>

- (void)clickMainItem:(NSString*)itemid;

@end

@interface MainItem : UIScrollView <UIScrollViewDelegate> {
	UIImage *image;
	UIImageView *imageView;
    NSString* itemid;//下标
    UILabel *titleLabel;
    
    UIImageView *itemImageView;
    
}

@property (nonatomic, retain) UIImage *image;
@property (nonatomic,retain) NSString *itemid;
@property (nonatomic,retain) UILabel *titleLabel;
@property (nonatomic,retain) UIImageView *itemImageView;
#pragma mark 点击事件代理
@property (nonatomic, retain) id <MainItemDelegate> dele;
@end